package kk.yiyi.myapplication;

import com.contrarywind.interfaces.IPickerViewData;

import java.util.List;

public class ShengBean implements IPickerViewData {
    public String name;
    public List<Shi> city;

    public static class Shi {
        public Shi(String name,List<String> area){
            this.name=name;
            this.area=area;
        }
        public String name;
        public List<String> area;

    }

    public ShengBean(String name,List<Shi> city){
        this.name=name;
        this.city=city;
    }

    //  这个要返回省的名字
    @Override
    public String getPickerViewText() {
        return this.name;
    }
}
